package com.example.anquan.repository;


import com.example.anquan.guanli.Article;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import javax.transaction.Transactional;


public interface ArticleRepository extends JpaRepository<Article, Integer> {
//    @Transactional
//    @Modifying
//    @Query("UPDATE article SET content=?2 where id=?1")
//    public int updateArticle(Integer Id, String content);
}
